import serve from "rollup-plugin-serve";

export default {
  input: "src/1-13.js",
  output: {
    file: "dist/bundle.js",
    format: "umd",
    sourcemap: true,
  },
  plugins: [
    serve({
      open: true,
      openPage: "/index.html", //默认打开的html路径
      port: 3000,
      contentBase: "", //静态文件目录
    }),
  ],
};
